package com.itheima.health.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Data
public class ResultMenu implements Serializable {
    private String path;
    private String title;
    private String icon;
    private String linkUrl;
    private List<ResultMenu> children;



    @Override
    public String toString() {
        return "ResultMenu{" +
                "path='" + path + '\'' +
                ", title='" + title + '\'' +
                ", icon='" + icon + '\'' +
                ", linkUrl='" + linkUrl + '\'' +
                ", children=" + children +
                '}';
    }
}
